/* Copyright(c) 1998-2012, Arnaud Colin
 * All rights reserved.
 *
 * Licence GNU GPL version 3
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *   -> Redistributions of source code must retain the above copyright
 *      notice, this list of conditions and the following disclaimer.
 *
 *   -> Redistributions in binary form must reproduce the above copyright
 *      notice, this list of conditions and the following disclaimer in the
 *      documentation and/or other materials provided with the distribution.
 */


#include "stdafx.h"
#include "Logger.h"

template<typename T>
CLogger<T>::CLogger(void)
{
	//_xmlLog = new System::Xml::XmlDocument();
}

template<typename T>
CLogger<T>::~CLogger(void)
{
}

template<typename T>
void CLogger<T>::Write()
{
	T tt = new T();
	tt->Write(this);
	delete tt;
	delete this;
}

/*
template<typename T>
static CLogger<T>* CLogger<T>::Open()
{
	return new cLogger<T>();
}
*/